Conversation
| T napi_extract_value(napi_env env, napi_value value); | ||
|
|
||
| template<> | ||
| inline std::wstring napi_extract_value<std::wstring>(napi_env env, napi_value value) { |
There was a problem hiding this comment.
This is the function we use to extract a string argument.
| } | ||
|
|
||
| template<> | ||
| inline int64_t napi_extract_value<int64_t>(napi_env env, napi_value value) { |
There was a problem hiding this comment.
This is the function we use to extract a int64 argument
| template<size_t N> | ||
| std::array<std::wstring, N> napi_extract_args(napi_env env, napi_callback_info info) { | ||
| template<> | ||
| inline bool napi_extract_value<bool>(napi_env env, napi_value value) { |
There was a problem hiding this comment.
This is the function we use to extract a boolean argument
| return result; | ||
| } | ||
|
|
||
| template<typename... Types, std::size_t... Is> |
There was a problem hiding this comment.
These two functions are parsed in compilation to extract all arguments based on the types we pass
|
Hey @dajimenezriv-internxt, no reviewers are assigned to this PR. That will not trigger any notification and therefore, no one will be noticed about the need to review |
|




No description provided.